-
Home
-
BigCommerce For WordPress
-
5.1.2 (latest)
-
Code
-
Classes
- Cart
Total Complexity |
40 |
Dependencies |
14 |
Dependents |
13 |
Total lines |
303 |
Lines of code |
176 |
Logical lines of code |
106 |
Comment lines |
91 |
Methods |
14 |
Properties |
1 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
add_request_to_cart() |
A |
47 |
7 |
36 |
add_line_item() |
S |
50 |
5 |
30 |
delete_cart() |
S |
56 |
5 |
18 |
get_checkout_url() |
S |
59 |
4 |
14 |
get_embedded_checkout_url() |
S |
59 |
4 |
14 |
sanitize_cart_id() |
S |
62 |
4 |
12 |
get_cart_id() |
S |
67 |
2 |
8 |
get_cart_url() |
S |
64 |
2 |
9 |
get_channel_id() |
S |
65 |
2 |
9 |
__construct() |
S |
81 |
1 |
3 |
set_cart_id() |
S |
68 |
1 |
6 |
add_gift_certificate() |
S |
67 |
1 |
8 |
set_item_count_cookie() |
S |
68 |
1 |
6 |
get_currency() |
S |
79 |
1 |
3 |